package com.example.ivos.user.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    @ApiModelProperty(value = "用户id",required = true)
    private Long id;
    @ApiModelProperty(value = "用户名",required = true)
    private String username;
    @ApiModelProperty(value = "用户密码",required = true)
    private String password;
    @ApiModelProperty(value = "用户邮箱",required = true)
    private String email;
    @ApiModelProperty(value = "用户手机号",required = true)
    private String phone;
    @ApiModelProperty(value = "用户年龄",required = true)
    private Integer age;
    @ApiModelProperty(value = "用户性别",required = true)
    private String gender;
    @ApiModelProperty(value = "创建时间",required = true)
    private Date createTime;
    @ApiModelProperty(value = "更新时间",required = true)
    private Date updateTime;
    @ApiModelProperty(value = "用户状态",required = true)
    private String status;
    @ApiModelProperty(value = "用户职级",required = true)
    private String level;
    @ApiModelProperty(value = "领导id",required = true)
    private Long parentId;
}
